package com.flycms.module.document.dao;

import com.flycms.module.document.model.DocumentDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DocumentDetailDao {

    DocumentDetail getDocById(@Param("id") Long id);

    void insertSelective(DocumentDetail documentDetail);

    List<DocumentDetail> queryAll();

    void delByDocId(@Param("id") Long id);

    void update(DocumentDetail detail);
}
